import request from '@/utils/request1'

// 生美服务订单列表
export function orderList(query) {
  return request({
    url: 'admin/service/index',
    method: 'post',
    data: query
  })
}
// 服务订单详情
export function orderInfo(query) {
  return request({
    url: 'admin/service/show',
    method: 'post',
    data: query
  })
}

// plus会员卡订单
export function plusOrderList(query) {
  return request({
    url: 'admin/card/index',
    method: 'post',
    data: query
  })
}
// plus会员卡订单详情
export function cardInfo(query) {
  return request({
    url: 'admin/card/show',
    method: 'post',
    data: query
  })
}
// 服务订单导出
export function severCardExport(query) {
  return request({
    url: 'admin/service/orderExport',
    method: 'get',
    params: query,
    responseType: 'blob'
  })
}
// PLUS会员卡订单导出
export function plusCardInfo(query) {
  return request({
    url: 'admin/card/orderExport',
    method: 'get',
    params: query,
    responseType: 'blob'
  })
}